package hc.j2me.ui;

import hc.core.util.ByteUtil;

public class RSConfig {
	public static final int SOUND_FAIL = 0, SOUND_NO_TEST = 1, SOUND_PASS = 2;
	
	public String userLang;
	public boolean isHideToolbar;
	public boolean isMute = true;//缺省改静音
	public int colorBit = 0;//表示要进行从RootConfig中获得初始值。IConstant.COLOR_8_BIT;
	public int refreshMS = 3000;
	public int toneStep = SOUND_NO_TEST;//表示未测；如果测并通过，则为2；如果测未通过，则为0
	public int auStep = SOUND_NO_TEST;
	public String certKey = ByteUtil.encodeBase64("*49AtBU7qtD:{&DJ7ey|&2S0.,Kjd4}9^1Y!id(12YUOSwR$d01u}[49AtBU7qtW".getBytes());
	public String stunAndPort = "";
	public int width, height;
	public boolean isTouchScreen, isSupportGPS;
	public String uuid = "";
	public int failAlphaMax = 999999999;
	public int passAlphaMin = 0;
	public boolean isUseAlpha = false;
	public boolean isTCPOnly = false;
	public boolean isStorePass = false;
	public String password = "";

	public static final String EN_US = "en-US";

	public static String getSysLocale() {
		String locale = System.getProperty("microedition.locale");
	
		if (locale == null) {
			locale = "en";
		}
		
		return locale;
	}
}
